package com.arpa.wms.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.arpa.ntocc.common.common.util.excel.StringConverter;
import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 期初导入 DTO
 * @author jinss
 * @date 2020-09-26 10:08:01
 **/
@Data
@ApiModel(value="InitializationExcelDTO对象", description="期初导入DTO")
public class DamagedExcelDTO extends BasicEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "仓库编码")
	@ExcelProperty(converter = StringConverter.class)
	private String warehouseSerialNumber;

	@ApiModelProperty(value = "仓库名称")
	@ExcelProperty(converter = StringConverter.class)
	private String warehouseName;

	@ApiModelProperty(value = "货主编码")
	@ExcelProperty(converter = StringConverter.class)
	private String shipmentSerialNumber;

	@ApiModelProperty(value = "货主名称")
	@ExcelProperty(converter = StringConverter.class)
	private String shipmentName;

	@ApiModelProperty(value = "报损原因")
	@ExcelProperty(converter = StringConverter.class)
	private String reason;

	@ApiModelProperty(value = "报损类型")
	@ExcelProperty(converter = StringConverter.class)
	private String typeName;

	@ApiModelProperty(value = "商品编码")
	@ExcelProperty(converter = StringConverter.class)
	private String goodCode;

	@ApiModelProperty(value = "商品名称")
	@ExcelProperty(converter = StringConverter.class)
	private String goodsName;

	@ApiModelProperty(value = "单位")
	@ExcelProperty(converter = StringConverter.class)
	private String goodsUnitName;

	@ApiModelProperty(value = "数量")
	@ExcelProperty(converter = StringConverter.class)
	private String damagedQuantity;

	@ApiModelProperty(value = "备注")
	@ExcelProperty(converter = StringConverter.class)
	private String remarks;

	@ApiModelProperty(value = "仓库code")
	@ExcelIgnore
	private String warehouseCode;

	@ApiModelProperty(value = "货主code")
	@ExcelIgnore
	private String shipmentCode;

	@ApiModelProperty(value = "类型code")
	@ExcelIgnore
	private String type;

	@ApiModelProperty(value = "商品code")
	@ExcelIgnore
	private String goodsCode;

	@ApiModelProperty(value = "单位code")
	@ExcelIgnore
	private String goodsUnit;

	@ApiModelProperty(value = "基本单位code")
	@ExcelIgnore
	private String basicUnit;

	@ApiModelProperty(value = "基本单位名称")
	@ExcelIgnore
	private String basicUnitName;

	@ApiModelProperty(value = "基本单位转换数量")
	@ExcelIgnore
	private BigDecimal basicQuantity;

	@ApiModelProperty(value = "单位数量")
	@ExcelIgnore
	private BigDecimal unitQuantity;

	@ApiModelProperty(value = "商品条码")
	@ExcelIgnore
	private String goodsBarCode;

	@ApiModelProperty(value = "商品规格")
	@ExcelIgnore
	private String spec;

}
